package amsStore;

import item.PurchaseItem;
import java.sql.Date;
import java.util.List;

public class OnlineReceipt extends Receipt {

	private int numDays;	// expect number of days the delivery will take
	
	public OnlineReceipt(int numDays, int receiptId, Date date, List<PurchaseItem> purchaseItems, String cardLastFiveDigits) {
		super(receiptId, date, purchaseItems, true, cardLastFiveDigits);
		
		this.numDays = numDays;
	}
	
	public OnlineReceipt(int numDays, int receiptId, Date date, String cardLastFiveDigits, Bill bill)
	{
		super(receiptId, date, true, cardLastFiveDigits, bill);
		
		this.numDays = numDays;
	}
	
	public int getNumDays()
	{
		return this.numDays;
	}

}
